package com.hq.zb.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 访客计划
 * </p>
 *
 * @author huanghanrui
 * @since 2022-03-24
 */
@Data
@TableName("cus_visitor_plan")
public class VisitorPlan extends BaseModel<VisitorPlan> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户ID
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 访客计划名称
     */
    @TableField("visitor_plan_title")
    private String visitorPlanTitle;
    /**
     * 目的
     */
    private String objective;
    /**
     * 执行人
     */
    private String executor;
    /**
     * 跟进日期
     */
    @TableField("visitor_date")
    private Date visitorDate;
    /**
     * 访客状态
     */
    @TableField("visitor_status")
    private String visitorStatus;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
